package com.lc1993929.actuator.starter;

import com.lc1993929.actuator.starter.annotation.Log;
import org.springframework.stereotype.Component;

/**
 * Created by LiuChang on 2017/7/27/027.
 */
@Component
public class SimpleService {
    @Log
    public void test(int num) {
        System.out.println("----test---- " + num);
    }

    @Log
    public void core(int num) {
        System.out.println("----core---- " + num);
    }

    public void work(int num) {
        System.out.println("----work---- " + num);
    }
}
